package com.day11.java;

public class Test {
    public static void main(String[] args) {
        Swim swim = new Swim() {
            @Override
            public void swiming() {
                System.out.println("鱼在游泳");
            }
        };
        swim.swiming();
    }
}
